package com.lex.entity.dept;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(name = "DeptListVo", description = "部门列表返回参数")
public class DeptListVo {
    @Schema(name = "id", description = "部门id")
    private Long id;
    @Schema(name = "name", description = "部门名称")
    private String name;
    @Schema(name = "orderNo", description = "排序")
    private Integer orderNo;
    @Schema(name = "remark", description = "备注")
    private String remark;
    @Schema(name = "createTime", description = "创建时间")
    private String createTime;
    @Schema(name = "status", description = "状态 0-禁用 1-启用")
    private Integer status;
    @Schema(name = "parentId", description = "父级id")
    private Long parentId;
    @Schema(name = "key", description = "key")
    private Long key;
    @Schema(name = "value", description = "value")
    private Long value;
    @Schema(name = "label", description = "label")
    private String label;
    @Schema(name = "children", description = "子部门")
    private List<DeptListVo> children;
}
